package com.hoshiibuy.organization.service;

import com.hoshiibuy.organization.entity.StoreOrganization;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiibuy.organization.entity.StoreOrganization;

/**
 * <p>
 * 店铺（伙伴/供应商) 服务类
 * </p>
 *
 * @author campchen
 * @since 2019-04-28
 */
public interface StoreOrganizationService extends IService<StoreOrganization> {

    StoreOrganization getById(Long id);

    boolean save(StoreOrganization entity);

    boolean updateById(StoreOrganization entity);

    IPage<StoreOrganization> page(IPage<StoreOrganization> page, Wrapper<StoreOrganization> queryWrapper);
}
